package com.hxzy.shop.dto.auth.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class RoleListReq implements Serializable {
    private static final long serialVersionUID = -7461348660575989541L;

    @ApiModelProperty("当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageNum;

    @ApiModelProperty("每页的数量")
    @NotNull(message = "每页的数量不能为空")
    private Integer pageSize;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("状态 true启用 false 禁用")
    private Boolean state;
}
